import useRequest from '@/hooks/useRequest';
const {
	request,
	post,
	get
} = useRequest();



// 去微信登录
export const doWxlogin = (data) => {
	return post({
		url: 'lawyer/login/wxlogin',
		data
	});
};


// 微信完善信息
export const doWxInformation = (data) => {
	return post({
		url: 'lawyer/login/wxlogin_information',
		data
	});
};

// 微信获取手机号
export const getWxPhone = (data) => {
	return post({
		url: 'lawyer/login/get_phone',
		data
	});
};


export const payWxPay = (data) => {
	return post({
		url: 'currency/pay/wxpay',
		data: {
			...data
		}
	});
}

export const queryWxPayStatus = (data) => {
	return post({
		url: 'currency/pay/is_pay',
		data: {
			...data
		}
	});
}